﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataBase
{
    [Table("DecisionType")]
    public class DecisionType
    {
        /// <summary>
        /// 主键，自动递增
        /// </summary>
        [Key]
        [Column("Id")]
        public int Id { get; set; }


        /// <summary>
        /// 排序
        /// </summary>

        [Column("Sort")]
        public int Sort { get; set; }

        /// <summary>
        /// 类型
        /// </summary>

        [Column("Name")]
        public string Name { get; set; }


        /// <summary>
        /// 类型
        /// </summary>

        [Column("Top")]
        public int Top { get; set; }

        /// <summary>
        /// 类型
        /// </summary>

        [Column("Bottom")]
        public int Bottom { get; set; }

        /// <summary>
        /// 类型
        /// </summary>

        [Column("Left")]
        public int Left { get; set; }


        /// <summary>
        /// 类型
        /// </summary>
        [Column("Right")]
        public int Right { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [Column("Image")]
        public string Image { get; set; }

    }
}
